﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace WorkFlowCore.Resources
{
    public class ResourceInfo : IEntity<string>
    {
        public string Id { get; set; }
        public string Name { get; set; }
        public string FullPath { get; set; }
        public string Subfix { get; set; }
        public long Length { get; set; }

        public object[] GetKeys()
        {
            return GetType().GetProperties().Select(p => p.Name).ToArray();
        }
    }
}
